<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
?>
<div class="pad_10">
    <div class="table-list">
        <form name="smsform" action="" method="get">
            <input type="hidden" value="goods" name="m">
            <input type="hidden" value="goods" name="c">
            <input type="hidden" value="init" name="a">
            <input type="hidden" value="<?php echo $_GET['menuid'] ?>" name="menuid">
            <table width="100%" cellspacing="0">
                <thead>
                <tr>
                    <th>联系QQ</th>
                    <th>付款金额</th>
                    <th>数量</th>
                    <th>类型</th>
                    <th>订单编号</th>
                    <th>支付宝编号</th>
                    <th>支付状态</th>
<!--                    <th>操作</th>-->
                </tr>
                </thead>
                <tbody>
                <?php
                if (is_array($infos)) {
                    foreach ($infos as $info) {
                        ?>
                        <tr>
                            <td align="center"><?= $info['pay_qq'] ?></td>
                            <td align="center"><?= $info['price']?></td>
                            <td align="center"><?= $info['len'] ?></td>
                            <td align="center">
                                <?php
                                if ($info['type'] == 1) {
                                    echo '查冻结';
                                } elseif ($info['type'] == 2) {
                                    echo '查DNF';
                                } elseif ($info['type'] == 3) {
                                    echo '查等级Q龄';
                                }
                                ?>
                            </td>
                            <td align="center"><?=$info['order_on']?></td>
                            <td align="center"><?=$info['pay_num']?></td>
                            <td align="center"><?php if($info['is_pay']==1){ echo '<font color="red" class="onError">未付款</font>';}else{ echo '<font color="green" class="onCorrect">已付款</font>';} ?></td>
<!--                            <td align="center">-->
<!--                                <a href="index.php?m=goods&c=goods&a=goods_check&act=check&id=--><?//= $info['id'] ?><!--&menuid=--><?//= $_GET['menuid'];?><!--&pc_hash=--><?//= $_GET['pc_hash'] ?><!--">修改状态</a>-->
<!--                                <a href="index.php?m=goods&c=goods&a=goods_edit&id=--><?//= $info['id'] ?><!--&menuid=--><?//= $_GET['menuid'];?><!--&pc_hash=--><?//= $_GET['pc_hash'] ?><!--">编辑商品</a>-->
<!--                            </td>-->
                        </tr>
                        <?php
                    }
                }
                ?>
                </tbody>
            </table>
            <div id="pages"><?php echo $pages?></div>
        </form>
    </div>
</div>
<br>
<br>
</body>
</html>